package com.iyitong.common.dao;

import java.sql.SQLException;
import java.util.List;

import com.iyitong.common.entity.BaseEntity;

public interface BaseDao {

	List<BaseEntity> queryForList(String sqlMapId, BaseEntity obj) throws SQLException;

	BaseEntity queryForObject(String sqlMapId, BaseEntity obj) throws SQLException;

	int insert(String sqlMapId, BaseEntity obj) throws SQLException;

	int update(String sqlMapId, BaseEntity obj) throws SQLException;

	int delete(String sqlMapId, BaseEntity obj) throws SQLException;
}
